Skip to main content

verticalTextAlign

Type​

property

Summary​

The vertical text alignment of the field widget.

Syntax​

set the verticalTextAlign of <widget> to <pAlign>
get the verticalTextAlign of <widget>

Description​

Use the textAlign property to change the vertical text alignment of the field widget.

Examples​

set the verticalTextAlign of widget "Android Field" to "middle"

Value​

NameTypeDescription

value

  • "top": Top-aligned text
  • "middle": Middle-aligned text
  • "bottom": Bottom-aligned text

Compatibility and Support​

OS

android